.Net Framework > v3.5.21022.8 > System > Linq > Queryable > SelectMany<TSource,TCollection,TResult> SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>,Func<TSource,Int32,IEnumerable<TCollection>>>,Func<TSource,TCollection,TResult>>)
SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>,Func<TSource,IEnumerable<TCollection>>>,Func<TSource,TCollection,TResult>>)


SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>,Func<TSource,Int32,IEnumerable<TCollection>>>,Func<TSource,TCollection,TResult>>)

Category
Method
Description
Projects each element of a sequence to an System.Collections.Generic.IEnumerable`1 that incorporates the index of the source element that produced it. A result selector function is invoked on each element of each intermediate sequence, and the resulting values are combined into a single, one-dimensional sequence and returned.
Type
System.Linq.IQueryable<TResult>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
collectionSelectorSystem.Linq.Expressions.Expression<System.Func<TSource,Int32,System.Collections.Generic.IEnumerable<TCollection>>>
resultSelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TCollection,TResult>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>,Func<TSource,IEnumerable<TCollection>>>,Func<TSource,TCollection,TResult>>)

Category
Method
Description
Projects each element of a sequence to an System.Collections.Generic.IEnumerable`1 and invokes a result selector function on each element therein. The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned.
Type
System.Linq.IQueryable<TResult>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
collectionSelectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Collections.Generic.IEnumerable<TCollection>>>
resultSelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TCollection,TResult>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database